package com.ljx.recruitment.mq.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

import static com.ljx.recruitment.mq.constant.RabbitMqConstant.*;

/**
 * @Author: LiJunXi
 * @Description:
 * @Date: 2024-11-05  22:29
 */
@Getter
@AllArgsConstructor
public enum MQTypeEnum {
    DEFAULT(0, "默认类型", DEFAULT_EXCHANGE),
    EMAIL(1, "邮箱", EMAIL_EXCHANGE);

    private Integer key;
    private String value;
    private String exchange;

}
